<template>
    <div ref="show" class="show">
        <router-view></router-view>
    </div>
</template>
<script setup>
    import { onMounted, ref } from 'vue'
    import scrollFixed from '../assets/js/listenstroll.js'

    const show = ref(null)
    onMounted(() => {
        scrollFixed(show.value)
    })
</script>
<style scoped>
    .show{
        position: absolute;
        top: 30px;
        right: 30px;
        width: 375px;
        min-width: 375px;
        height: 667px;
        background-color: rgb(255, 255, 255);
        border-radius: 10px;
        box-shadow: 0 0 15px 10px rgb(229, 229, 229);
    }
</style>